<!doctype html>
<html lang="zh-CN">
 <head> 
  <meta charset="UTF-8"> 
  <meta name="viewport" content="width=device-width, initial-scale=1.0"> 
  <title>年度规划项目 - 学员端</title> 
  <script src="../javascript/reload.js"></script> 
  <script src="./1967852373321711616/resource_4521110000.js"></script> 
  <link href="./1967852373321711616/all.min.css" rel="stylesheet"> 
  <script src="./1967852373321711616/echarts.min.js"></script> 
  <script>tailwind.config = {
            theme: {
                extend: {
                    colors: {
                        primary: '#165DFF',
                        secondary: '#4080FF',
                        accent: '#0E42D2',
                        neutral: '#F5F7FA',
                        'neutral-dark': '#E5E6EB',
                        'text-primary': '#1D2129',
                        'text-secondary': '#4E5969',
                        'text-tertiary': '#86909C',
                    },
                    fontFamily: {
                        inter: ['Inter', 'system-ui', 'sans-serif'],
                    },
                    spacing: {
                        '220': '220px',
                        '250': '250px',
                    }
                },
            }
        }</script> 
  <style type="text/tailwindcss">
        @layer utilities {
            .content-auto {
                content-visibility: auto;
            }
            .scrollbar-hide {
                -ms-overflow-style: none;
                scrollbar-width: none;
            }
            .scrollbar-hide::-webkit-scrollbar {
                display: none;
            }
            .menu-active {
                @apply bg-primary/10 text-primary border-l-4 border-primary;
            }
            .menu-item {
                @apply flex items-center px-4 py-3 text-text-secondary hover:bg-neutral-dark transition-all duration-200 cursor-pointer;
            }
            .menu-item-active {
                @apply bg-primary/10 text-primary border-l-4 border-primary;
            }
            .submenu-item {
                @apply flex items-center px-8 py-2.5 text-text-secondary hover:bg-neutral-dark transition-all duration-200 cursor-pointer text-sm;
            }
            .submenu-item-active {
                @apply bg-primary/10 text-primary;
            }
            .card-shadow {
                box-shadow: 0 2px 14px 0 rgba(0, 0, 0, 0.06);
            }
            .btn-primary {
                @apply bg-primary text-white px-4 py-2 rounded-md hover:bg-accent transition-all duration-200 flex items-center justify-center;
            }
            .btn-secondary {
                @apply bg-white text-primary border border-primary px-4 py-2 rounded-md hover:bg-primary/5 transition-all duration-200 flex items-center justify-center;
            }
            .btn-outline {
                @apply bg-white text-text-secondary border border-neutral-dark px-4 py-2 rounded-md hover:bg-neutral transition-all duration-200 flex items-center justify-center;
            }
            .input-field {
                @apply w-full px-3 py-2 border border-neutral-dark rounded-md focus:outline-none focus:ring-2 focus:ring-primary/30 focus:border-primary transition-all duration-200;
            }
            .table-header {
                @apply bg-neutral text-text-secondary text-sm font-medium px-4 py-3;
            }
            .table-row {
                @apply border-b border-neutral-dark hover:bg-neutral/50 transition-all duration-200;
            }
            .badge {
                @apply px-2 py-1 rounded-full text-xs font-medium;
            }
            .badge-success {
                @apply bg-green-100 text-green-700;
            }
            .badge-warning {
                @apply bg-yellow-100 text-yellow-700;
            }
            .badge-danger {
                @apply bg-red-100 text-red-700;
            }
            .badge-info {
                @apply bg-blue-100 text-blue-700;
            }
            .badge-purple {
                @apply bg-purple-100 text-purple-700;
            }
            .badge-gray {
                @apply bg-gray-100 text-gray-700;
            }
        }
    </style> 
 </head> 
 <body class="font-inter bg-neutral text-text-primary h-screen flex overflow-hidden"> 
  <!-- 左侧菜单区域 --> 
  <aside id="sidebar" class="w-220 bg-white h-full shadow-md z-10 transition-all duration-300 ease-in-out"> 
   <!-- 品牌标识 --> 
   <div class="flex items-center justify-center h-16 border-b border-neutral-dark"> 
    <div class="flex items-center"> 
     <i class="fas fa-chart-line text-primary text-2xl mr-3"> </i> 
     <h1 class="text-xl font-bold text-primary"> Hi Quick AI </h1> 
    </div> 
   </div> 
   <!-- 菜单列表 --> 
   <nav class="py-4 h-[calc(100%-4rem)] overflow-y-auto scrollbar-hide"> 
    <div class="menu-group">
     <a class="yt-a-defalut-link menu-item flex justify-between" custom-a="true" custom-href="w=1181&amp;h=762&amp;appuuid=1969721745313103872&amp;version=2&amp;pageType=web&amp;uuid=1968264071639728128&amp;appName=年规学员端最新版1.1" href="javascript:void(0);" is-add="true" is-page="true" onclick="ytCustomLinkNavigation()" style="display: inline; padding: 0px; border: 0px; box-shadow: none;" target="_top"> 
      <div class="menu-item flex justify-between" data-menu="monthly" data-selectorname="#id-pe1s4" style="background-color:#ffffffff"> 
       <div class="flex items-center"> 
        <i class="fas fa-calendar-check text-lg mr-3"> </i> 
        <span class="" contenteditable="false" style="outline: none;"> 工作台 </span> 
       </div> 
      </div> </a> 
     <div class="submenu hidden" id="submenu-monthly"> 
     </div> 
    </div> 
    <!-- 公司公告 --> 
    <div class="menu-group"> 
     <a class="yt-a-defalut-link menu-item flex justify-between" custom-a="true" custom-href="w=1170&amp;h=728&amp;appuuid=1969721745313103872&amp;version=1&amp;pageType=web&amp;uuid=1968578812111224832&amp;appName=年规学员端最新版1.1" href="javascript:void(0);" is-add="false" is-page="true" onclick="ytCustomLinkNavigation()" style="display: inline; padding: 0px; border: 0px; box-shadow: none;" target="_top"> 
      <div class="menu-item flex justify-between" data-menu="announcements" data-selectorname="#id-wgtje" style="background-color:#ffffffff"> 
       <div class="flex items-center"> 
        <i class="fas fa-bullhorn text-lg mr-3"> </i> 
        <span> 公司公告 </span> 
       </div> 
      </div> </a> 
     <div class="submenu hidden" id="submenu-announcements"> 
     </div> 
    </div> 
    <!-- 年规管理 --> 
    <div class="menu-group"> 
     <div class="menu-item flex justify-between" data-menu="planning"> 
      <div class="flex items-center"> 
       <i class="fas fa-bullseye text-lg mr-3"> </i> 
       <span> 年规管理 </span> 
      </div> 
      <i class="fas fa-chevron-right text-xs transition-transform duration-200"> </i> 
     </div> 
     <div class="submenu hidden" id="submenu-planning" data-ytextravalue="extra-wszw0uwvj"> 
      <a class="yt-a-defalut-link submenu-item flex" target="_top" is-page="true" href="javascript:void(0);" custom-href="w=1321&amp;h=831&amp;appuuid=1969721745313103872&amp;version=2&amp;pageType=web&amp;uuid=1969787710210048000&amp;appName=demo1" onclick="ytCustomLinkNavigation()" custom-a="true" is-add="false" style="display: flex; padding: 0px; border: 0px; box-shadow: none;" data-ytoriginindex="0" data-ytindex="0"> 
       <div class="submenu-item" data-page="goal-dashboard" data-selectorname="#id-vus62" style> 
        <i class="fas fa-chart-pie text-xs mr-2"> </i> 
        <span style> 目标进度看板 </span> 
       </div> </a> 
      <a class="yt-a-defalut-link submenu-item flex" target="_top" is-page="true" href="javascript:void(0);" custom-href="w=1390&amp;h=831&amp;appuuid=1969721745313103872&amp;version=1&amp;pageType=web&amp;uuid=1969803110087917568&amp;appName=demo1" onclick="ytCustomLinkNavigation()" custom-a="true" is-add="false" style="display: flex; padding: 0px; border: 0px; box-shadow: none;" data-ytoriginindex="1" data-ytindex="1" data-ytparentvalue="extra-wszw0uwvj"> 
       <div class="submenu-item" data-page="performance-entry" data-selectorname="#id-1nnsg" style> 
        <i class="fas fa-pencil-alt text-xs mr-2"> </i> 
        <span> 业绩回填 </span> 
       </div> </a> 
      <a class="yt-a-defalut-link submenu-item flex" target="_top" is-page="true" href="javascript:void(0);" custom-href="w=1228&amp;h=797&amp;appuuid=1969721745313103872&amp;version=1&amp;pageType=web&amp;uuid=1967832363245240320&amp;appName=年规学员端左侧菜单版" onclick="ytCustomLinkNavigation()" custom-a="true" is-add="true" style="display: flex; padding: 0px; border: 0px; box-shadow: none;" data-ytoriginindex="2" data-ytindex="2"> 
       <div class="submenu-item" data-page="product-library" data-selectorname="#id-06tsk" style> 
        <i class="fas fa-box text-xs mr-2"> </i> 
        <span> 产品库 </span> 
       </div> </a> 
      <a class="yt-a-defalut-link submenu-item flex" target="_top" is-page="true" href="javascript:void(0);" custom-href="w=1321&amp;h=831&amp;appuuid=1969721745313103872&amp;version=1&amp;pageType=web&amp;uuid=1969766167933353984&amp;appName=demo1" onclick="ytCustomLinkNavigation()" custom-a="true" is-add="false" style="display: flex; padding: 0px; border: 0px; box-shadow: none;" data-ytparentvalue="extra-wszw0uwvj" data-ytoriginindex="3" data-ytindex="3"> 
       <div class="submenu-item" data-page="marketing-plan" data-selectorname="#id-p036z" style> 
        <i class="fas fa-bullhorn text-xs mr-2"> </i> 
        <span> 营销计划 </span> 
       </div> </a> 
      <a class="yt-a-defalut-link submenu-item flex" target="_top" is-page="true" href="javascript:void(0);" custom-href="w=1228&amp;h=797&amp;appuuid=1969721745313103872&amp;version=1&amp;pageType=web&amp;uuid=1967839529905684480&amp;appName=年规学员端左侧菜单版" onclick="ytCustomLinkNavigation()" custom-a="true" is-add="true" style="display: flex; padding: 0px; border: 0px; box-shadow: none;" data-ytoriginindex="4" data-ytindex="4"> 
       <div class="submenu-item" data-page="customer-records" data-selectorname="#id-ezqcd" style> 
        <i class="fas fa-users text-xs mr-2"> </i> 
        <span> 客户档案 </span> 
       </div> </a> 
      <a class="yt-a-defalut-link submenu-item flex" target="_top" is-page="true" href="javascript:void(0);" custom-href="w=1228&amp;h=797&amp;appuuid=1969721745313103872&amp;version=1&amp;pageType=web&amp;uuid=1967841389332922368&amp;appName=年规学员端左侧菜单版" onclick="ytCustomLinkNavigation()" custom-a="true" is-add="true" style="display: flex; padding: 0px; border: 0px; box-shadow: none;" data-ytoriginindex="5" data-ytindex="5"> 
       <div class="submenu-item" data-page="pk-activities" data-selectorname="#id-r4cw8" style> 
        <i class="fas fa-trophy text-xs mr-2"> </i> 
        <span style> PK 活动 </span> 
       </div> </a> 
     </div> 
    </div> 
    <!-- 工作管理 --> 
    <div class="menu-group"> 
     <div class="menu-item menu-item-active flex justify-between" data-menu="work"> 
      <div class="flex items-center"> 
       <i class="fas fa-briefcase text-lg mr-3"> </i> 
       <span> 工作管理 </span> 
      </div> 
      <i class="fas fa-chevron-down text-xs transition-transform duration-200"> </i> 
     </div> 
     <div class="submenu" id="submenu-work"> 
      <a class="yt-a-defalut-link submenu-item flex" target="_top" is-page="true" custom-href="w=1228&amp;h=797&amp;appuuid=1969721745313103872&amp;version=1&amp;pageType=web&amp;uuid=1967843857995399168&amp;appName=年规学员端左侧菜单版" onclick="ytCustomLinkNavigation()" custom-a="true" is-add="true" style="display: flex; padding: 0px; border: 0px; box-shadow: none;"> 
       <div class="submenu-item" data-page="work-dashboard" data-selectorname="#id-2me7c" style data-ytextravalue="extra-si5abf10r"> 
        <i class="fas fa-chart-bar text-xs mr-2" data-ytoriginindex="0" data-ytindex="0"> </i> 
        <span class data-ytparentvalue="extra-si5abf10r" data-ytoriginindex="1" data-ytindex="1" style="opacity: 1; color: rgb(78, 89, 105); font-family: Inter, system-ui, sans-serif; font-size: 14px; font-weight: 400; font-style: normal; line-height: 20px; text-align: start; text-indent: 0px;"> 周日报管理 </span> 
       </div> </a> 
      <a class="yt-a-defalut-link submenu-item flex" target="_top" is-page="true" href="javascript:void(0);" custom-href="w=1228&amp;h=797&amp;appuuid=1969721745313103872&amp;version=1&amp;pageType=web&amp;uuid=1967850301578805248&amp;appName=年规学员端左侧菜单版" onclick="ytCustomLinkNavigation()" custom-a="true" is-add="true" style="display: flex; padding: 0px; border: 0px; box-shadow: none;"> 
       <div class="submenu-item" data-page="meeting-plan" data-selectorname="#id-zv2ra" style> 
        <i class="fas fa-calendar-alt text-xs mr-2"> </i> 
        <span style> 会议计划 </span> 
       </div> </a> 
      <div class="submenu-item submenu-item-active" data-page="work-tasks"> 
       <i class="fas fa-tasks text-xs mr-2"> </i> 
       <span> 工作任务 </span> 
      </div> 
     </div> 
    </div> 
    <!-- 学习成长 --> 
    <div class="menu-group"> 
     <div class="menu-item flex justify-between" data-menu="learning"> 
      <div class="flex items-center"> 
       <i class="fas fa-graduation-cap text-lg mr-3"> </i> 
       <span> 学习成长 </span> 
      </div> 
      <i class="fas fa-chevron-right text-xs transition-transform duration-200"> </i> 
     </div> 
     <div class="submenu hidden" id="submenu-learning"> 
      <a class="yt-a-defalut-link submenu-item flex" target="_top" is-page="true" href="javascript:void(0);" custom-href="w=1113&amp;h=728&amp;appuuid=1969721745313103872&amp;version=2&amp;pageType=web&amp;uuid=1968967895824203776&amp;appName=年规学员端最新版1.1" onclick="ytCustomLinkNavigation()" custom-a="true" is-add="false" style="display: flex; padding: 0px; border: 0px; box-shadow: none;"> 
       <div class="submenu-item" data-page="company-culture" data-selectorname="#id-w5t8g" style> 
        <i class="fas fa-building text-xs mr-2"> </i> 
        <span style> 企业文化 </span> 
       </div> </a> 
      <a class="yt-a-defalut-link submenu-item flex" target="_top" is-page="true" href="javascript:void(0);" custom-href="w=1228&amp;h=797&amp;appuuid=1969721745313103872&amp;version=1&amp;pageType=web&amp;uuid=1967868783729049600&amp;appName=年规学员端左侧菜单版" onclick="ytCustomLinkNavigation()" custom-a="true" is-add="true" style="display: flex; padding: 0px; border: 0px; box-shadow: none;"> 
       <div class="submenu-item" data-page="course-center" data-selectorname="#id-u8ga5" style> 
        <i class="fas fa-book-open text-xs mr-2"> </i> 
        <span style> 课程中心 </span> 
       </div> </a> 
      <a class="yt-a-defalut-link submenu-item flex" target="_top" is-page="true" href="javascript:void(0);" custom-href="w=1228&amp;h=797&amp;appuuid=1969721745313103872&amp;version=1&amp;pageType=web&amp;uuid=1967868795963834368&amp;appName=年规学员端左侧菜单版" onclick="ytCustomLinkNavigation()" custom-a="true" is-add="true" style="display: flex; padding: 0px; border: 0px; box-shadow: none;"> 
       <div class="submenu-item" data-page="knowledge-base" data-selectorname="#id-mfi6d" style> 
        <i class="fas fa-book text-xs mr-2"> </i> 
        <span> 知识库 </span> 
       </div> </a> 
      <a class="yt-a-defalut-link submenu-item flex" target="_top" is-page="true" href="javascript:void(0);" custom-href="w=1228&amp;h=797&amp;appuuid=1969721745313103872&amp;version=1&amp;pageType=web&amp;uuid=1967868797977100288&amp;appName=年规学员端左侧菜单版" onclick="ytCustomLinkNavigation()" custom-a="true" is-add="true" style="display: flex; padding: 0px; border: 0px; box-shadow: none;"> 
       <div class="submenu-item" data-page="learning-plan" data-selectorname="#id-xnomv" style> 
        <i class="fas fa-clipboard-list text-xs mr-2"> </i> 
        <span> 学习计划 </span> 
       </div> </a> 
     </div> 
    </div> 
    <!-- 个人档案 --> 
    <div class="menu-group"> 
     <div class="menu-item flex justify-between" data-menu="profile"> 
      <div class="flex items-center"> 
       <i class="fas fa-user text-lg mr-3"> </i> 
       <span> 个人档案 </span> 
      </div> 
      <i class="fas fa-chevron-right text-xs transition-transform duration-200"> </i> 
     </div> 
     <div class="submenu hidden" id="submenu-profile"> 
      <a class="yt-a-defalut-link submenu-item flex" target="_top" is-page="true" href="javascript:void(0);" custom-href="w=1228&amp;h=797&amp;appuuid=1969721745313103872&amp;version=1&amp;pageType=web&amp;uuid=1967868800292356096&amp;appName=年规学员端左侧菜单版" onclick="ytCustomLinkNavigation()" custom-a="true" is-add="true" style="display: flex; padding: 0px; border: 0px; box-shadow: none;"> 
       <div class="submenu-item" data-page="basic-info" data-selectorname="#id-o7ifu" style> 
        <i class="fas fa-id-card text-xs mr-2"> </i> 
        <span style> 基本信息 </span> 
       </div> </a> 
      <a class="yt-a-defalut-link submenu-item flex" target="_top" is-page="true" href="javascript:void(0);" custom-href="w=1228&amp;h=797&amp;appuuid=1969721745313103872&amp;version=1&amp;pageType=web&amp;uuid=1967868801315766272&amp;appName=年规学员端左侧菜单版" onclick="ytCustomLinkNavigation()" custom-a="true" is-add="true" style="display: flex; padding: 0px; border: 0px; box-shadow: none;"> 
       <div class="submenu-item" data-page="account-settings" data-selectorname="#id-1wyl4" style> 
        <i class="fas fa-cog text-xs mr-2"> </i> 
        <span> 账号设置 </span> 
       </div> </a> 
     </div> 
    </div> 
   </nav> 
  </aside> 
  <!-- 右侧内容区域 --> 
  <main class="flex-1 flex flex-col overflow-hidden"> 
   <!-- 顶部导航栏 --> 
   <header class="h-16 bg-white border-b border-neutral-dark flex items-center justify-between px-6 z-10"> 
    <div class="flex items-center"> 
     <button id="toggle-sidebar" class="mr-4 text-text-secondary hover:text-primary transition-colors duration-200"> <i class="fas fa-bars text-xl"> </i> </button> 
     <div class="text-sm text-text-tertiary" id="breadcrumb"> 
      <span> 工作管理 </span> 
      <i class="fas fa-angle-right mx-2 text-xs"> </i> 
      <span> 工作任务 </span> 
     </div> 
    </div> 
    <div class="flex items-center space-x-6"> 
     <div class="relative"> 
      <input type="text" placeholder="搜索..." class="pl-10 pr-4 py-2 rounded-full text-sm border border-neutral-dark focus:outline-none focus:ring-2 focus:ring-primary/30 focus:border-primary w-64"> 
      <i class="fas fa-search absolute left-3 top-1/2 transform -translate-y-1/2 text-text-tertiary"> </i> 
     </div> 
     <div class="relative"> 
      <button class="relative text-text-secondary hover:text-primary transition-colors duration-200"> <i class="fas fa-bell text-xl"> </i> <span class="absolute top-0 right-0 w-2 h-2 bg-red-500 rounded-full"> </span> </button> 
     </div> 
     <div class="flex items-center cursor-pointer group"> 
      <img src="./1967852373321711616/f48e4ae6256cb09fa61d11486866b14f.png" alt="用户头像" class="w-8 h-8 rounded-full object-cover border-2 border-transparent group-hover:border-primary transition-all duration-200"> 
      <div class="ml-2 hidden md:block"> 
       <div class="text-sm font-medium">
         张明 
       </div> 
       <div class="text-xs text-text-tertiary">
         销售部 
       </div> 
      </div> 
      <i class="fas fa-angle-down ml-1 text-text-tertiary"> </i> 
     </div> 
    </div> 
   </header> 
   <!-- 内容滚动区域 --> 
   <div class="flex-1 overflow-y-auto p-6 bg-neutral" id="content-area"> 
    <!-- 工作任务页面 --> 
    <div class="page active" id="page-work-tasks"> 
     <div class="flex justify-between items-center mb-6"> 
      <h2 class="text-2xl font-bold"> 工作任务 </h2> 
      <button id="create-task-btn" class="btn-primary"> <i class="fas fa-plus mr-2"> </i> 创建任务 </button> 
     </div> 
     <!-- 任务统计卡片 --> 
     <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-6"> 
      <div class="bg-white rounded-lg card-shadow p-5 flex items-center"> 
       <div class="w-12 h-12 rounded-full bg-blue-100 flex items-center justify-center text-primary mr-4"> 
        <i class="fas fa-tasks text-xl"> </i> 
       </div> 
       <div> 
        <div class="text-text-tertiary text-sm">
          总任务数 
        </div> 
        <div class="text-2xl font-bold mt-1">
          24 
        </div> 
        <div class="text-xs text-green-600 mt-1 flex items-center"> 
         <i class="fas fa-arrow-up mr-1"> </i> 较上月增长 12% 
        </div> 
       </div> 
      </div> 
      <div class="bg-white rounded-lg card-shadow p-5 flex items-center"> 
       <div class="w-12 h-12 rounded-full bg-yellow-100 flex items-center justify-center text-yellow-600 mr-4"> 
        <i class="fas fa-spinner text-xl"> </i> 
       </div> 
       <div> 
        <div class="text-text-tertiary text-sm">
          进行中 
        </div> 
        <div class="text-2xl font-bold mt-1">
          8 
        </div> 
        <div class="text-xs text-text-tertiary mt-1">
          占比 33.3% 
        </div> 
       </div> 
      </div> 
      <div class="bg-white rounded-lg card-shadow p-5 flex items-center"> 
       <div class="w-12 h-12 rounded-full bg-green-100 flex items-center justify-center text-green-600 mr-4"> 
        <i class="fas fa-check-circle text-xl"> </i> 
       </div> 
       <div> 
        <div class="text-text-tertiary text-sm">
          已完成 
        </div> 
        <div class="text-2xl font-bold mt-1">
          14 
        </div> 
        <div class="text-xs text-green-600 mt-1 flex items-center"> 
         <i class="fas fa-arrow-up mr-1"> </i> 较上月增长 8% 
        </div> 
       </div> 
      </div> 
      <div class="bg-white rounded-lg card-shadow p-5 flex items-center"> 
       <div class="w-12 h-12 rounded-full bg-red-100 flex items-center justify-center text-red-600 mr-4"> 
        <i class="fas fa-exclamation-circle text-xl"> </i> 
       </div> 
       <div> 
        <div class="text-text-tertiary text-sm">
          已逾期 
        </div> 
        <div class="text-2xl font-bold mt-1">
          2 
        </div> 
        <div class="text-xs text-red-600 mt-1 flex items-center"> 
         <i class="fas fa-arrow-up mr-1"> </i> 较上月增长 1 
        </div> 
       </div> 
      </div> 
     </div> 
     <!-- 任务筛选 --> 
     <div class="bg-white rounded-lg card-shadow p-4 mb-6 flex flex-wrap items-center gap-4"> 
      <div class="flex items-center space-x-2 flex-wrap"> 
       <span class="text-text-secondary"> 任务状态: </span> 
       <button class="badge badge-info px-3 py-1.5"> 全部 </button> 
       <button class="badge bg-white border border-neutral-dark px-3 py-1.5 hover:bg-neutral transition-colors duration-200"> 待处理 </button> 
       <button class="badge bg-white border border-neutral-dark px-3 py-1.5 hover:bg-neutral transition-colors duration-200"> 进行中 </button> 
       <button class="badge bg-white border border-neutral-dark px-3 py-1.5 hover:bg-neutral transition-colors duration-200"> 已完成 </button> 
       <button class="badge bg-white border border-neutral-dark px-3 py-1.5 hover:bg-neutral transition-colors duration-200"> 已逾期 </button> 
      </div> 
      <div class="flex items-center space-x-2 flex-wrap ml-auto"> 
       <div class="relative"> 
        <select class="input-field pr-8 appearance-none bg-white w-40"> <option value="all"> 全部来源 </option> <option value="superior"> 上级指派 </option> <option value="peer"> 同级指派 </option> <option value="self"> 自己创建 </option> </select> 
        <i class="fas fa-chevron-down absolute right-3 top-1/2 transform -translate-y-1/2 text-text-tertiary pointer-events-none"> </i> 
       </div> 
       <div class="relative"> 
        <select class="input-field pr-8 appearance-none bg-white w-40"> <option value="priority-desc"> 优先级从高到低 </option> <option value="priority-asc"> 优先级从低到高 </option> <option value="deadline-asc"> 截止日期从近到远 </option> <option value="deadline-desc"> 截止日期从远到近 </option> </select> 
        <i class="fas fa-chevron-down absolute right-3 top-1/2 transform -translate-y-1/2 text-text-tertiary pointer-events-none"> </i> 
       </div> 
       <div class="relative"> 
        <input type="text" placeholder="搜索任务..." class="pl-10 pr-4 py-2 rounded-lg text-sm border border-neutral-dark focus:outline-none focus:ring-2 focus:ring-primary/30 focus:border-primary w-64"> 
        <i class="fas fa-search absolute left-3 top-1/2 transform -translate-y-1/2 text-text-tertiary"> </i> 
       </div> 
      </div> 
     </div> 
     <!-- 任务列表 --> 
     <div class="bg-white rounded-lg card-shadow overflow-hidden mb-6"> 
      <div class="overflow-x-auto"> 
       <table class="min-w-full divide-y divide-neutral-dark"> 
        <thead> 
         <tr> 
          <th class="table-header text-left w-10"> <input type="checkbox" class="rounded text-primary focus:ring-primary/30"> </th> 
          <th class="table-header text-left"> 任务名称 </th> 
          <th class="table-header text-left"> 指派来源 </th> 
          <th class="table-header text-left"> 优先级 </th> 
          <th class="table-header text-left"> 截止日期 </th> 
          <th class="table-header text-left"> 状态 </th> 
          <th class="table-header text-left"> 进度 </th> 
          <th class="table-header text-left"> 操作 </th> 
         </tr> 
        </thead> 
        <tbody class="divide-y divide-neutral-dark"> 
         <tr class="table-row hover:bg-neutral/50 transition-colors duration-200"> 
          <td class="px-4 py-4 whitespace-nowrap"> <input type="checkbox" class="rounded text-primary focus:ring-primary/30"> </td> 
          <td class="px-4 py-4 whitespace-nowrap"> 
           <div class="font-medium">
             第二季度销售报告 
           </div> 
           <div class="text-xs text-text-tertiary mt-0.5">
             销售部 &gt; 业绩报告 
           </div> </td> 
          <td class="px-4 py-4 whitespace-nowrap"> 
           <div class="flex items-center"> 
            <img src="./1967852373321711616/35484bb241b312a663edd08b20b6b589.png" alt="指派人头像" class="w-6 h-6 rounded-full mr-2 object-cover"> 
            <span> 李经理 <span class="text-text-tertiary text-xs"> (上级) </span> </span> 
           </div> </td> 
          <td class="px-4 py-4 whitespace-nowrap"> <span class="badge badge-danger"> 高 </span> </td> 
          <td class="px-4 py-4 whitespace-nowrap text-sm"> 2023-06-30 </td> 
          <td class="px-4 py-4 whitespace-nowrap"> <span class="badge badge-warning"> 进行中 </span> </td> 
          <td class="px-4 py-4 whitespace-nowrap"> 
           <div class="w-full bg-neutral rounded-full h-2.5"> 
            <div class="bg-primary h-2.5 rounded-full" style="width: 75%"> 
            </div> 
           </div> 
           <div class="text-xs text-text-tertiary mt-1 text-right">
             75% 
           </div> </td> 
          <td class="px-4 py-4 whitespace-nowrap text-sm"> <button class="text-primary hover:text-accent mr-3" title="查看详情"> <i class="fas fa-eye"> </i> </button> <button class="text-text-secondary hover:text-text-primary mr-3" title="编辑任务"> <i class="fas fa-edit"> </i> </button> <button class="text-text-secondary hover:text-text-primary" title="删除任务"> <i class="fas fa-trash-alt"> </i> </button> </td> 
         </tr> 
         <tr class="table-row hover:bg-neutral/50 transition-colors duration-200"> 
          <td class="px-4 py-4 whitespace-nowrap"> <input type="checkbox" class="rounded text-primary focus:ring-primary/30"> </td> 
          <td class="px-4 py-4 whitespace-nowrap"> 
           <div class="font-medium">
             新产品培训资料整理 
           </div> 
           <div class="text-xs text-text-tertiary mt-0.5">
             销售部 &gt; 产品培训 
           </div> </td> 
          <td class="px-4 py-4 whitespace-nowrap"> 
           <div class="flex items-center"> 
            <img src="./1967852373321711616/adf44a67b4a27fc7c35522d9aa0cc29e.png" alt="指派人头像" class="w-6 h-6 rounded-full mr-2 object-cover"> 
            <span> 刘同事 <span class="text-text-tertiary text-xs"> (同级) </span> </span> 
           </div> </td> 
          <td class="px-4 py-4 whitespace-nowrap"> <span class="badge badge-warning"> 中 </span> </td> 
          <td class="px-4 py-4 whitespace-nowrap text-sm"> 2023-07-05 </td> 
          <td class="px-4 py-4 whitespace-nowrap"> <span class="badge badge-info"> 待处理 </span> </td> 
          <td class="px-4 py-4 whitespace-nowrap"> 
           <div class="w-full bg-neutral rounded-full h-2.5"> 
            <div class="bg-primary h-2.5 rounded-full" style="width: 0%"> 
            </div> 
           </div> 
           <div class="text-xs text-text-tertiary mt-1 text-right">
             0% 
           </div> </td> 
          <td class="px-4 py-4 whitespace-nowrap text-sm"> <button class="text-primary hover:text-accent mr-3" title="查看详情"> <i class="fas fa-eye"> </i> </button> <button class="text-text-secondary hover:text-text-primary mr-3" title="编辑任务"> <i class="fas fa-edit"> </i> </button> <button class="text-text-secondary hover:text-text-primary" title="删除任务"> <i class="fas fa-trash-alt"> </i> </button> </td> 
         </tr> 
         <tr class="table-row hover:bg-neutral/50 transition-colors duration-200"> 
          <td class="px-4 py-4 whitespace-nowrap"> <input type="checkbox" class="rounded text-primary focus:ring-primary/30"> </td> 
          <td class="px-4 py-4 whitespace-nowrap"> 
           <div class="font-medium">
             客户满意度调查 
           </div> 
           <div class="text-xs text-text-tertiary mt-0.5">
             销售部 &gt; 客户关系 
           </div> </td> 
          <td class="px-4 py-4 whitespace-nowrap"> 
           <div class="flex items-center"> 
            <img src="./1967852373321711616/35484bb241b312a663edd08b20b6b589.png" alt="指派人头像" class="w-6 h-6 rounded-full mr-2 object-cover"> 
            <span> 李经理 <span class="text-text-tertiary text-xs"> (上级) </span> </span> 
           </div> </td> 
          <td class="px-4 py-4 whitespace-nowrap"> <span class="badge badge-warning"> 中 </span> </td> 
          <td class="px-4 py-4 whitespace-nowrap text-sm"> 2023-06-25 </td> 
          <td class="px-4 py-4 whitespace-nowrap"> <span class="badge badge-success"> 已完成 </span> </td> 
          <td class="px-4 py-4 whitespace-nowrap"> 
           <div class="w-full bg-neutral rounded-full h-2.5"> 
            <div class="bg-green-500 h-2.5 rounded-full" style="width: 100%"> 
            </div> 
           </div> 
           <div class="text-xs text-text-tertiary mt-1 text-right">
             100% 
           </div> </td> 
          <td class="px-4 py-4 whitespace-nowrap text-sm"> <button class="text-primary hover:text-accent mr-3" title="查看详情"> <i class="fas fa-eye"> </i> </button> <button class="text-text-secondary hover:text-text-primary mr-3" title="任务记录"> <i class="fas fa-history"> </i> </button> <button class="text-text-secondary hover:text-text-primary" title="删除任务"> <i class="fas fa-trash-alt"> </i> </button> </td> 
         </tr> 
         <tr class="table-row hover:bg-neutral/50 transition-colors duration-200"> 
          <td class="px-4 py-4 whitespace-nowrap"> <input type="checkbox" class="rounded text-primary focus:ring-primary/30"> </td> 
          <td class="px-4 py-4 whitespace-nowrap"> 
           <div class="font-medium">
             销售数据统计分析 
           </div> 
           <div class="text-xs text-text-tertiary mt-0.5">
             销售部 &gt; 数据分析 
           </div> </td> 
          <td class="px-4 py-4 whitespace-nowrap"> 
           <div class="flex items-center"> 
            <img src="./1967852373321711616/6e509c817abc5bef92466a621928a013.png" alt="指派人头像" class="w-6 h-6 rounded-full mr-2 object-cover"> 
            <span> 张明 <span class="text-text-tertiary text-xs"> (自己) </span> </span> 
           </div> </td> 
          <td class="px-4 py-4 whitespace-nowrap"> <span class="badge badge-info"> 低 </span> </td> 
          <td class="px-4 py-4 whitespace-nowrap text-sm"> 2023-06-20 </td> 
          <td class="px-4 py-4 whitespace-nowrap"> <span class="badge badge-danger"> 已逾期 </span> </td> 
          <td class="px-4 py-4 whitespace-nowrap"> 
           <div class="w-full bg-neutral rounded-full h-2.5"> 
            <div class="bg-red-500 h-2.5 rounded-full" style="width: 40%"> 
            </div> 
           </div> 
           <div class="text-xs text-text-tertiary mt-1 text-right">
             40% 
           </div> </td> 
          <td class="px-4 py-4 whitespace-nowrap text-sm"> <button class="text-primary hover:text-accent mr-3" title="查看详情"> <i class="fas fa-eye"> </i> </button> <button class="text-text-secondary hover:text-text-primary mr-3" title="编辑任务"> <i class="fas fa-edit"> </i> </button> <button class="text-text-secondary hover:text-text-primary" title="删除任务"> <i class="fas fa-trash-alt"> </i> </button> </td> 
         </tr> 
         <tr class="table-row hover:bg-neutral/50 transition-colors duration-200"> 
          <td class="px-4 py-4 whitespace-nowrap"> <input type="checkbox" class="rounded text-primary focus:ring-primary/30"> </td> 
          <td class="px-4 py-4 whitespace-nowrap"> 
           <div class="font-medium">
             竞品分析报告 
           </div> 
           <div class="text-xs text-text-tertiary mt-0.5">
             市场部 &gt; 竞品分析 
           </div> </td> 
          <td class="px-4 py-4 whitespace-nowrap"> 
           <div class="flex items-center"> 
            <img src="./1967852373321711616/efb17fd15937522af4f0f3b1c6f74498.png" alt="指派人头像" class="w-6 h-6 rounded-full mr-2 object-cover"> 
            <span> 王同事 <span class="text-text-tertiary text-xs"> (同级) </span> </span> 
           </div> </td> 
          <td class="px-4 py-4 whitespace-nowrap"> <span class="badge badge-danger"> 高 </span> </td> 
          <td class="px-4 py-4 whitespace-nowrap text-sm"> 2023-07-02 </td> 
          <td class="px-4 py-4 whitespace-nowrap"> <span class="badge badge-warning"> 进行中 </span> </td> 
          <td class="px-4 py-4 whitespace-nowrap"> 
           <div class="w-full bg-neutral rounded-full h-2.5"> 
            <div class="bg-primary h-2.5 rounded-full" style="width: 60%"> 
            </div> 
           </div> 
           <div class="text-xs text-text-tertiary mt-1 text-right">
             60% 
           </div> </td> 
          <td class="px-4 py-4 whitespace-nowrap text-sm"> <button class="text-primary hover:text-accent mr-3" title="查看详情"> <i class="fas fa-eye"> </i> </button> <button class="text-text-secondary hover:text-text-primary mr-3" title="编辑任务"> <i class="fas fa-edit"> </i> </button> <button class="text-text-secondary hover:text-text-primary" title="删除任务"> <i class="fas fa-trash-alt"> </i> </button> </td> 
         </tr> 
        </tbody> 
       </table> 
      </div> 
      <!-- 分页 --> 
      <div class="px-4 py-3 flex items-center justify-between border-t border-neutral-dark"> 
       <div class="text-sm text-text-tertiary">
         显示 1 至 5 条，共 24 条记录 
       </div> 
       <div class="flex space-x-1"> 
        <button class="px-3 py-1 rounded border border-neutral-dark text-text-secondary hover:bg-neutral disabled:opacity-50 disabled:cursor-not-allowed" disabled> <i class="fas fa-angle-left"> </i> </button> 
        <button class="px-3 py-1 rounded border border-primary bg-primary text-white"> 1 </button> 
        <button class="px-3 py-1 rounded border border-neutral-dark text-text-secondary hover:bg-neutral"> 2 </button> 
        <button class="px-3 py-1 rounded border border-neutral-dark text-text-secondary hover:bg-neutral"> 3 </button> 
        <button class="px-3 py-1 rounded border border-neutral-dark text-text-secondary hover:bg-neutral"> 4 </button> 
        <button class="px-3 py-1 rounded border border-neutral-dark text-text-secondary hover:bg-neutral"> 5 </button> 
        <button class="px-3 py-1 rounded border border-neutral-dark text-text-secondary hover:bg-neutral"> <i class="fas fa-angle-right"> </i> </button> 
       </div> 
      </div> 
     </div> 
    </div> 
    <!-- 创建任务模态框 --> 
    <div id="create-task-modal" class="fixed inset-0 bg-black bg-opacity-50 z-50 hidden flex items-center justify-center p-4"> 
     <div class="bg-white rounded-lg w-full max-w-4xl max-h-[90vh] overflow-y-auto"> 
      <div class="border-b border-neutral-dark p-5 flex justify-between items-center sticky top-0 bg-white z-10"> 
       <h3 class="text-xl font-bold"> 创建工作任务 </h3> 
       <button id="close-task-modal" class="text-text-tertiary hover:text-text-primary transition-colors"> <i class="fas fa-times text-xl"> </i> </button> 
      </div> 
      <div class="p-5"> 
       <form id="create-task-form"> 
        <div class="grid grid-cols-1 md:grid-cols-2 gap-5 mb-5"> 
         <div> 
          <label class="block text-sm font-medium text-text-primary mb-2" for="task-title"> 任务名称 <span class="text-red-500"> * </span> </label> 
          <input type="text" id="task-title" class="input-field" placeholder="请输入任务名称" required> 
         </div> 
         <div> 
          <label class="block text-sm font-medium text-text-primary mb-2" for="task-assignee"> 任务负责人 <span class="text-red-500"> * </span> </label> 
          <div class="relative"> 
           <input type="text" id="task-assignee" class="input-field pr-10" placeholder="请输入负责人姓名" required> 
           <button type="button" class="absolute right-2 top-1/2 transform -translate-y-1/2 bg-neutral-dark text-white rounded px-2 py-1 text-xs hover:bg-text-tertiary transition-colors"> <i class="fas fa-user-plus mr-1"> </i> 选择 </button> 
          </div> 
         </div> 
         <div> 
          <label class="block text-sm font-medium text-text-primary mb-2" for="task-department"> 所属部门 </label> 
          <select id="task-department" class="input-field"> <option value="sales"> 销售部 </option> <option value="marketing"> 市场部 </option> <option value="product"> 产品部 </option> <option value="tech"> 技术部 </option> <option value="hr"> 人力资源部 </option> <option value="finance"> 财务部 </option> </select> 
         </div> 
         <div> 
          <label class="block text-sm font-medium text-text-primary mb-2" for="task-priority"> 优先级 <span class="text-red-500"> * </span> </label> 
          <select id="task-priority" class="input-field" required> <option value="high"> 高 </option> <option value="medium" selected> 中 </option> <option value="low"> 低 </option> </select> 
         </div> 
         <div> 
          <label class="block text-sm font-medium text-text-primary mb-2" for="task-deadline"> 截止日期 <span class="text-red-500"> * </span> </label> 
          <input type="date" id="task-deadline" class="input-field" required> 
         </div> 
        </div> 
        <div class="mb-5"> 
         <label class="block text-sm font-medium text-text-primary mb-2" for="task-description"> 任务描述 <span class="text-red-500"> * </span> </label> 
         <textarea id="task-description" rows="4" class="input-field" placeholder="请详细描述任务内容和要求" required>
        </textarea> 
        </div> 
        <div class="mb-5"> 
         <label class="block text-sm font-medium text-text-primary mb-2" for="task-assigner"> 指派来源 <span class="text-red-500"> * </span> </label> 
         <div class="grid grid-cols-1 md:grid-cols-3 gap-3"> 
          <label class="flex items-center p-3 border border-neutral-dark rounded-md cursor-pointer hover:border-primary hover:bg-primary/5 transition-colors duration-200"> <input type="radio" name="assigner-type" value="superior" class="mr-3 text-primary focus:ring-primary/30"> 
           <div> 
            <div class="font-medium text-sm">
              上级指派 
            </div> 
            <div class="text-xs text-text-tertiary">
              由上级领导指派的任务 
            </div> 
           </div> </label> 
          <label class="flex items-center p-3 border border-neutral-dark rounded-md cursor-pointer hover:border-primary hover:bg-primary/5 transition-colors duration-200"> <input type="radio" name="assigner-type" value="peer" class="mr-3 text-primary focus:ring-primary/30" checked> 
           <div> 
            <div class="font-medium text-sm">
              同级指派 
            </div> 
            <div class="text-xs text-text-tertiary">
              由同事或其他部门指派的任务 
            </div> 
           </div> </label> 
          <label class="flex items-center p-3 border border-neutral-dark rounded-md cursor-pointer hover:border-primary hover:bg-primary/5 transition-colors duration-200"> <input type="radio" name="assigner-type" value="self" class="mr-3 text-primary focus:ring-primary/30"> 
           <div> 
            <div class="font-medium text-sm">
              自己创建 
            </div> 
            <div class="text-xs text-text-tertiary">
              自己创建的任务 
            </div> 
           </div> </label> 
         </div> 
        </div> 
        <div class="mb-5" id="assigner-info-container"> 
         <label class="block text-sm font-medium text-text-primary mb-2" for="task-assigner-name"> 指派人信息 </label> 
         <div class="grid grid-cols-1 md:grid-cols-2 gap-5"> 
          <div> 
           <input type="text" id="task-assigner-name" class="input-field" placeholder="请输入指派人姓名"> 
          </div> 
          <div> 
           <input type="text" id="task-assigner-department" class="input-field" placeholder="请输入指派人部门"> 
          </div> 
         </div> 
        </div> 
        <div class="mb-5"> 
         <label class="block text-sm font-medium text-text-primary mb-2" for="task-attachment"> 附件上传 </label> 
         <div class="border-2 border-dashed border-neutral-dark rounded-md p-6 text-center hover:border-primary transition-colors cursor-pointer bg-neutral/50"> 
          <input type="file" id="task-attachment" class="hidden" multiple> 
          <label for="task-attachment" class="cursor-pointer"> <i class="fas fa-cloud-upload-alt text-3xl text-text-tertiary mb-2 block"> </i> <p class="text-sm text-text-secondary mb-1"> 点击或拖拽文件至此处上传 </p> <p class="text-xs text-text-tertiary"> 支持 PDF, Word, Excel, PPT, 图片等格式，单个文件不超过20MB </p> </label> 
         </div> 
        </div> 
        <div class="mb-5"> 
         <label class="block text-sm font-medium text-text-primary mb-2" for="task-remark"> 备注信息 </label> 
         <textarea id="task-remark" rows="3" class="input-field" placeholder="请输入备注信息">
        </textarea> 
        </div> 
        <div class="flex justify-end space-x-3 pt-4 border-t border-neutral-dark"> 
         <button type="button" id="cancel-task-btn" class="btn-outline"> 取消 </button> 
         <button type="submit" class="btn-primary"> <i class="fas fa-save mr-2"> </i> 创建任务 </button> 
        </div> 
       </form> 
      </div> 
     </div> 
    </div> 
    <!-- 任务详情模态框 --> 
    <div id="task-detail-modal" class="fixed inset-0 bg-black bg-opacity-50 z-50 hidden flex items-center justify-center p-4"> 
     <div class="bg-white rounded-lg w-full max-w-4xl max-h-[90vh] overflow-y-auto"> 
      <div class="border-b border-neutral-dark p-5 flex justify-between items-center sticky top-0 bg-white z-10"> 
       <h3 class="text-xl font-bold"> 任务详情 - 第二季度销售报告 </h3> 
       <button id="close-detail-modal" class="text-text-tertiary hover:text-text-primary transition-colors"> <i class="fas fa-times text-xl"> </i> </button> 
      </div> 
      <div class="p-5"> 
       <div class="grid grid-cols-1 md:grid-cols-3 gap-5 mb-6"> 
        <div class="bg-neutral rounded-lg p-4"> 
         <div class="text-text-tertiary text-sm mb-1">
           任务状态 
         </div> 
         <div class="flex items-center"> 
          <span class="badge badge-warning mr-2"> 进行中 </span> 
          <span class="text-xs text-text-tertiary"> 75% 完成 </span> 
         </div> 
        </div> 
        <div class="bg-neutral rounded-lg p-4"> 
         <div class="text-text-tertiary text-sm mb-1">
           优先级 
         </div> 
         <span class="badge badge-danger"> 高 </span> 
        </div> 
        <div class="bg-neutral rounded-lg p-4"> 
         <div class="text-text-tertiary text-sm mb-1">
           截止日期 
         </div> 
         <div class="font-medium">
           2023-06-30 
         </div> 
        </div> 
       </div> 
       <div class="grid grid-cols-1 md:grid-cols-2 gap-5 mb-6"> 
        <div> 
         <div class="text-text-tertiary text-sm mb-1">
           任务负责人 
         </div> 
         <div class="flex items-center"> 
          <img src="./1967852373321711616/6e509c817abc5bef92466a621928a013.png" alt="负责人头像" class="w-6 h-6 rounded-full mr-2 object-cover"> 
          <span> 张明 </span> 
         </div> 
        </div> 
        <div> 
         <div class="text-text-tertiary text-sm mb-1">
           指派人 
         </div> 
         <div class="flex items-center"> 
          <img src="./1967852373321711616/35484bb241b312a663edd08b20b6b589.png" alt="指派人头像" class="w-6 h-6 rounded-full mr-2 object-cover"> 
          <span> 李经理 <span class="text-text-tertiary text-xs"> (上级) </span> </span> 
         </div> 
        </div> 
        <div> 
         <div class="text-text-tertiary text-sm mb-1">
           所属部门 
         </div> 
         <span> 销售部 </span> 
        </div> 
        <div> 
         <div class="text-text-tertiary text-sm mb-1">
           任务分类 
         </div> 
         <span> 报告文档 </span> 
        </div> 
        <div> 
         <div class="text-text-tertiary text-sm mb-1">
           创建时间 
         </div> 
         <span> 2023-06-15 09:30 </span> 
        </div> 
        <div> 
         <div class="text-text-tertiary text-sm mb-1">
           预计工时 
         </div> 
         <span> 16小时 </span> 
        </div> 
       </div> 
       <div class="mb-6"> 
        <div class="text-text-tertiary text-sm mb-2">
          任务描述 
        </div> 
        <div class="bg-neutral rounded-lg p-4 text-sm leading-relaxed"> 
         <p> 请整理第二季度销售报告，包括但不限于以下内容： </p> 
         <ul class="list-disc list-inside mt-2 ml-2 space-y-1"> 
          <li> 第二季度销售业绩总体情况 </li> 
          <li> 各产品线销售数据对比分析 </li> 
          <li> 重点客户销售情况 </li> 
          <li> 与上一季度销售数据对比 </li> 
          <li> 销售目标完成情况 </li> 
          <li> 存在的问题及改进建议 </li> 
         </ul> 
         <p class="mt-2"> 报告需包含数据图表，并于6月30日前提交给我审阅。 </p> 
        </div> 
       </div> 
       <div class="mb-6"> 
        <div class="text-text-tertiary text-sm mb-2">
          任务进度 
        </div> 
        <div class="w-full bg-neutral rounded-full h-4 mb-2"> 
         <div class="bg-primary h-4 rounded-full" style="width: 75%"> 
         </div> 
        </div> 
        <div class="flex justify-between text-xs text-text-tertiary"> 
         <span> 开始日期: 2023-06-15 </span> 
         <span> 75% 完成 </span> 
         <span> 截止日期: 2023-06-30 </span> 
        </div> 
       </div> 
       <div class="mb-6"> 
        <div class="flex justify-between items-center mb-2"> 
         <div class="text-text-tertiary text-sm">
           附件列表 
         </div> 
         <button class="text-primary text-sm hover:underline"> <i class="fas fa-plus mr-1"> </i> 添加附件 </button> 
        </div> 
        <div class="space-y-2"> 
         <div class="flex items-center p-3 bg-neutral rounded-md text-sm"> 
          <i class="fas fa-file-excel text-green-500 mr-3 text-lg"> </i> 
          <div class="flex-1 min-w-0"> 
           <div class="truncate font-medium">
             第二季度销售原始数据.xlsx 
           </div> 
           <div class="text-xs text-text-tertiary mt-0.5">
             2.4 MB · 2023-06-16 
           </div> 
          </div> 
          <button class="ml-4 text-text-secondary hover:text-primary transition-colors"> <i class="fas fa-download"> </i> </button> 
         </div> 
         <div class="flex items-center p-3 bg-neutral rounded-md text-sm"> 
          <i class="fas fa-file-image text-pink-500 mr-3 text-lg"> </i> 
          <div class="flex-1 min-w-0"> 
           <div class="truncate font-medium">
             销售趋势图表.png 
           </div> 
           <div class="text-xs text-text-tertiary mt-0.5">
             1.2 MB · 2023-06-20 
           </div> 
          </div> 
          <button class="ml-4 text-text-secondary hover:text-primary transition-colors"> <i class="fas fa-download"> </i> </button> 
         </div> 
        </div> 
       </div> 
       <div class="mb-6"> 
        <div class="text-text-tertiary text-sm mb-2">
          任务日志 
        </div> 
        <div class="space-y-4"> 
         <div class="border border-neutral-dark rounded-md p-4"> 
          <div class="flex justify-between items-start mb-2"> 
           <div class="flex items-center"> 
            <img src="./1967852373321711616/6e509c817abc5bef92466a621928a013.png" alt="用户头像" class="w-6 h-6 rounded-full mr-2 object-cover"> 
            <div> 
             <div class="font-medium text-sm">
               张明 
             </div> 
             <div class="text-xs text-text-tertiary">
               2023-06-25 15:30 
             </div> 
            </div> 
           </div> 
           <span class="badge badge-info"> 更新进度 </span> 
          </div> 
          <div class="text-sm bg-neutral p-3 rounded-md">
            已完成报告初稿，正在进行数据核对和图表制作，预计明天可以完成。 
          </div> 
         </div> 
         <div class="border border-neutral-dark rounded-md p-4"> 
          <div class="flex justify-between items-start mb-2"> 
           <div class="flex items-center"> 
            <img src="./1967852373321711616/35484bb241b312a663edd08b20b6b589.png" alt="用户头像" class="w-6 h-6 rounded-full mr-2 object-cover"> 
            <div> 
             <div class="font-medium text-sm">
               李经理 
             </div> 
             <div class="text-xs text-text-tertiary">
               2023-06-20 10:15 
             </div> 
            </div> 
           </div> 
           <span class="badge badge-purple"> 评论 </span> 
          </div> 
          <div class="text-sm bg-neutral p-3 rounded-md">
            请在报告中增加与去年同期的对比分析，这对评估年度销售趋势很重要。 
          </div> 
         </div> 
         <div class="border border-neutral-dark rounded-md p-4"> 
          <div class="flex justify-between items-start mb-2"> 
           <div class="flex items-center"> 
            <img src="./1967852373321711616/6e509c817abc5bef92466a621928a013.png" alt="用户头像" class="w-6 h-6 rounded-full mr-2 object-cover"> 
            <div> 
             <div class="font-medium text-sm">
               张明 
             </div> 
             <div class="text-xs text-text-tertiary">
               2023-06-16 09:45 
             </div> 
            </div> 
           </div> 
           <span class="badge badge-success"> 开始任务 </span> 
          </div> 
          <div class="text-sm bg-neutral p-3 rounded-md">
            已开始收集第二季度销售数据，计划先整理原始数据再进行分析。 
          </div> 
         </div> 
        </div> 
        <div class="mt-4 border border-dashed border-neutral-dark rounded-md p-4"> 
         <textarea rows="3" class="input-field" placeholder="添加任务日志或评论...">
        </textarea> 
         <div class="flex justify-end mt-3"> 
          <button class="btn-primary"> <i class="fas fa-paper-plane mr-2"> </i> 提交 </button> 
         </div> 
        </div> 
       </div> 
       <div class="flex justify-end space-x-3 pt-4 border-t border-neutral-dark"> 
        <button class="btn-outline"> <i class="fas fa-history mr-2"> </i> 任务日志 </button> 
        <button class="btn-secondary"> <i class="fas fa-edit mr-2"> </i> 编辑任务 </button> 
        <button class="btn-primary"> <i class="fas fa-check mr-2"> </i> 完成任务 </button> 
       </div> 
      </div> 
     </div> 
    </div> 
    <!-- 其他页面内容保持不变 --> 
    <div class="page hidden" id="page-work-dashboard"> 
    </div> 
    <div class="page hidden" id="page-meeting-plan"> 
    </div> 
    <div class="page hidden" id="page-monthly-tasks"> 
    </div> 
    <div class="page hidden" id="page-latest-announcements"> 
    </div> 
    <div class="page hidden" id="page-historical-announcements"> 
    </div> 
    <div class="page hidden" id="page-goal-dashboard"> 
    </div> 
    <div class="page hidden" id="page-performance-entry"> 
    </div> 
    <div class="page hidden" id="page-product-library"> 
    </div> 
    <div class="page hidden" id="page-marketing-plan"> 
    </div> 
    <div class="page hidden" id="page-customer-records"> 
    </div> 
    <div class="page hidden" id="page-pk-activities"> 
    </div> 
   </div> 
  </main> 
  <script>// 页面加载时初始化
        document.addEventListener('DOMContentLoaded', () => {
            // 菜单切换功能
            const menuItems = document.querySelectorAll('.menu-item[data-menu]');
            menuItems.forEach(item => {
                item.addEventListener('click', () => {
                    // 移除所有菜单的活动状态
                    document.querySelectorAll('.menu-item').forEach(menu => { menu.classList.remove('menu-item-active'); });
                    
                    // 添加当前菜单的活动状态
                    item.classList.add('menu-item-active'); 
                    
                    const menuId = item.getAttribute('data-menu');
                    const submenu = document.getElementById(`submenu-${menuId}`);
                    const icon = item.querySelector('i:last-child');
                    
                    // 切换子菜单显示/隐藏
                    if (submenu.classList.contains('hidden')) {
                        submenu.classList.remove('hidden');
                        icon.classList.remove('fa-chevron-right');
                        icon.classList.add('fa-chevron-down');
                    } else {
                        submenu.classList.add('hidden');
                        icon.classList.remove('fa-chevron-down');
                        icon.classList.add('fa-chevron-right');
                    }
                });
            });
            
            // 子菜单切换功能
            const submenuItems = document.querySelectorAll('.submenu-item[data-page]');
            submenuItems.forEach(item => {
                item.addEventListener('click', () => {
                    // 移除所有子菜单的活动状态
                    document.querySelectorAll('.submenu-item').forEach(submenu => { submenu.classList.remove('submenu-item-active'); });
                    
                    // 添加当前子菜单的活动状态
                    item.classList.add('submenu-item-active');
                    
                    // 获取页面ID和面包屑信息
                    const pageId = item.getAttribute('data-page');
                    const parentMenu = item.closest('.submenu').id.replace('submenu-', '');
                    const parentMenuText = document.querySelector(`.menu-item[data-menu="${parentMenu}"] span`).textContent;
                    const currentMenuText = item.querySelector('span').textContent;
                    
                    // 更新面包屑
                    document.getElementById('breadcrumb').innerHTML = `













<span>${parentMenuText}</span>
  <i class="fas fa-angle-right mx-2 text-xs">
  </i>
  <span>${currentMenuText}</span>
    
    
    
    
    
    
    
    
    
    
    
    
    
  `;
                    
                    // 切换页面显示
                    document.querySelectorAll('.page').forEach(page => { page.classList.add('hidden'); });
                    document.getElementById(`page-${pageId}`).classList.remove('hidden');
                });
            });
            
            // 侧边栏切换功能
            const toggleSidebar = document.getElementById('toggle-sidebar');
            const sidebar = document.getElementById('sidebar');
            toggleSidebar.addEventListener('click', () => {
                if (sidebar.classList.contains('w-220')) {
                    sidebar.classList.remove('w-220');  
                    sidebar.classList.add('w-20');
                    // 隐藏菜单文本
                    document.querySelectorAll('.menu-item span:first-of-type').forEach(text => { text.classList.add('hidden'); });
                    document.querySelectorAll('.submenu').forEach(submenu => { submenu.classList.add('hidden'); });
                    document.querySelectorAll('.menu-item i:last-child').forEach(icon => { icon.classList.add('hidden'); });
                } else {
                    sidebar.classList.remove('w-20');
                    sidebar.classList.add('w-220');
                    // 显示菜单文本
                    document.querySelectorAll('.menu-item span:first-of-type').forEach(text => { text.classList.remove('hidden'); });
                    // 恢复之前打开的子菜单
                    document.querySelectorAll('.menu-item-active').forEach(menu => {
                        const menuId = menu.getAttribute('data-menu');
                        const submenu = document.getElementById(`submenu-${menuId}`);
                        if (submenu) { submenu.classList.remove('hidden'); }
                    });
                    document.querySelectorAll('.menu-item i:last-child').forEach(icon => { icon.classList.remove('hidden'); });
                }
            });
            
            // 工作任务页面功能
            const createTaskBtn = document.getElementById('create-task-btn');
            const createTaskModal = document.getElementById('create-task-modal');
            const closeTaskModal = document.getElementById('close-task-modal');
            const cancelTaskBtn = document.getElementById('cancel-task-btn');
            const createTaskForm = document.getElementById('create-task-form');
            const assignerRadios = document.querySelectorAll('input[name="assigner-type"]');
            const assignerInfoContainer = document.getElementById('assigner-info-container');
            
            // 打开创建任务模态框
            createTaskBtn.addEventListener('click', () => {
                createTaskModal.classList.remove('hidden');
                // 设置默认日期为今天
                const today = new Date();
                today.setDate(today.getDate() + 7);
                const defaultDate = today.toISOString().split('T')[0];
                document.getElementById('task-deadline').value = defaultDate;
            });
            
            // 关闭创建任务模态框
            function closeCreateTaskModal() {
                createTaskModal.classList.add('hidden');
                createTaskForm.reset();
                // 重置单选按钮默认值
                document.querySelector('input[name="assigner-type"][value="peer"]').checked = true;
                assignerInfoContainer.style.display = 'block';
            }
            
            closeTaskModal.addEventListener('click', closeCreateTaskModal);
            cancelTaskBtn.addEventListener('click', closeCreateTaskModal);
            
            // 点击模态框外部关闭
            createTaskModal.addEventListener('click', (e) => {
                if (e.target === createTaskModal) {
                    closeCreateTaskModal();
                }
            });
            
            // 指派来源单选按钮切换
            assignerRadios.forEach(radio => {
                radio.addEventListener('change', () => {
                    if (radio.value === 'self') {
                        assignerInfoContainer.style.display = 'none';
                    } else {
                        assignerInfoContainer.style.display = 'block';
                    }
                });
            });
            
            // 提交创建任务表单
            createTaskForm.addEventListener('submit', (e) => {
                e.preventDefault();
                // 这里添加表单提交逻辑
                alert('任务创建成功！');
                closeCreateTaskModal();
            });
            
            // 任务详情模态框功能
            const viewTaskBtns = document.querySelectorAll('#page-work-tasks .fa-eye').forEach(btn => {
                btn.closest('button').addEventListener('click', openTaskDetailModal);
            });
            
            const taskDetailModal = document.getElementById('task-detail-modal');
            const closeDetailModal = document.getElementById('close-detail-modal');
            
            // 打开任务详情模态框
            function openTaskDetailModal() {
                taskDetailModal.classList.remove('hidden');
            }
            
            // 关闭任务详情模态框
            function closeTaskDetailModal() {
                taskDetailModal.classList.add('hidden');
            }
            
            closeDetailModal.addEventListener('click', closeTaskDetailModal);
            
            // 点击模态框外部关闭
            taskDetailModal.addEventListener('click', (e) => {
                if (e.target === taskDetailModal) {
                    closeTaskDetailModal();
                }
            });
            
            // 任务状态筛选按钮
            const statusButtons = document.querySelectorAll('#page-work-tasks .badge');
            statusButtons.forEach(button => {
                button.addEventListener('click', () => {
                    // 移除所有按钮的选中状态
                    statusButtons.forEach(btn => {
                        btn.classList.remove('badge-info');
                        btn.classList.add('bg-white', 'border', 'border-neutral-dark', 'hover:bg-neutral');
                    });
                    
                    // 添加当前按钮的选中状态
                    button.classList.remove('bg-white', 'border', 'border-neutral-dark', 'hover:bg-neutral');
                    button.classList.add('badge-info');
                });
            });
        });</script>  
 </body>
</html>